package com.hs.room.model.archive

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 案件
 */
@Entity(tableName = "case_tb")
data class Case(
    @PrimaryKey(autoGenerate = true)
    val localId: Long,//本地数据库主键
    @ColumnInfo
    var id: Long,//服务器返回ID
    @ColumnInfo
    var createOn: String,
    @ColumnInfo
    var updateOn: String,
    @ColumnInfo
    var createBy: String,
    @ColumnInfo
    var updateBy: String,
    @ColumnInfo
    var caseNo: String,
    @ColumnInfo
    var handler: String,
    @ColumnInfo
    var guid: String,
    @ColumnInfo
    var filingDate: String,
    @ColumnInfo
    var caseDispose: String,
    @ColumnInfo
    var remark: String,
    @ColumnInfo
    var applicant: String,
    @ColumnInfo
    var executedPerson: String,
    @ColumnInfo
    var caseSortNo: String,
    @ColumnInfo
    var courtNo: String,
    @ColumnInfo
    var isDelete: Byte,
    @ColumnInfo
    var status: Int,
    @ColumnInfo
    var executeAction: String,
    @ColumnInfo
    var executeAddress: String,
    @ColumnInfo
    var registrant: String,
)
